package com.wyp.design.pattern.behavior.observer;

/**
 * eg: 当一门课程有新的同学提问时,通知到课程的老师,当然这门课程的老师可能不止一个,每次提交一个问题都会通知到该课程的所有老师
 */
public class Question {
    private String userName;
    private String questionContent;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getQuestionContent() {
        return questionContent;
    }

    public void setQuestionContent(String questionContent) {
        this.questionContent = questionContent;
    }
}
